From: Hans van Kranenburg Date: Sat, 14 Jan 2023 23:16:52 +0000 (+0100) Subject: d/shuffle-boot-files: Add a note about d/not-installed X-Git-Tag: archive/raspbian/4.17.1+2-gb773c48e36-1+rpi1~1^2~49 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=b532c4e37bbc3f71e13668bb07a1d66939ac4048;p=xen.git d/shuffle-boot-files: Add a note about d/not-installed Add a hint about the fact that this boot/ location is also present in d/not-installed. This might help someone looking at all of this for the first time to discover the puzzle pieces that are involved. Signed-off-by: Hans van Kranenburg --- diff --git a/debian/shuffle-boot-files b/debian/shuffle-boot-files index 176c65f1c4..90a4eafb1b 100755 --- a/debian/shuffle-boot-files +++ b/debian/shuffle-boot-files @@ -33,6 +33,11 @@ verstring="${verstring%.gz}" # # So, e.g. debian/tmp/boot/xen-4.14.1-pre.gz will end up in our package # as debian/xen-hypervisor-4.14-amd64/boot/xen-4.14-amd64.gz +# +# Finally, note that we're not just renaming the files here, we are +# actually manually doing part of the install process here. Afterwards, +# we can ignore the content of debian/tmp/boot/. See the d/not-installed +# file for this. The boot/ location is mentioned in there. find "$t/boot" -type f -print | while read f; do basename="${f#$t/boot/}" head="${basename%$verstring*}"